﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

// Reviewed
#pragma once
#include <cstdint>
#include "NdbDataSchema.h"

namespace gcmp 
{ 
    /// \brief  参数显示类型
    ///
    /// 只允许在最后添加新类型（Count之前）
    SERIALIZABLE_ENUM_CLASS(ParameterDisplayType)
    {
        Invalid = 0,             ///< 无效显示，默认值

        FollowUnitType = 1,      ///< 根据UnitType自动选择

        NoDisplay = 2,           ///< 不作显示

        Custom = 3,              ///< 自定义显示

        Length = 4,              ///< 长度显示

        Area = 5,                ///< 面积显示

        Volume = 6,              ///< 体积显示

        Angle = 7,               ///< 角度显示

        Slope = 8,               ///< 坡度显示

        Number = 9,              ///< 数字显示

        Text = 10,               ///< 文本显示

        Geometry = 11,           ///< 几何显示

        Density = 12,            ///< 密度显示

        YesOrNo = 13,            ///< Yes或No显示

        Float = 14,              ///< 浮点型显示

        Material = 15,           ///< 材质显示

        ValueList = 16,          ///< 值列表显示

        StandardCodeReference = 17, ///< 标准编码引用类型，需要进一步根据编码获取到编码对应的数据

        TextStyle = 18,

        Count = 19               ///< 总数
    };
}
